V2EX  ›  英汉词典

Concatenation Operator

释义 Definition

连接(串联)运算符:在编程语言中用来把两个或多个值“拼接”成一个更长的值的运算符,最常见的是字符串拼接(也可用于数组、列表或序列的连接,视语言而定)。

发音 Pronunciation (IPA)

/kənˌkætəˈneɪʃən ˈɑːpəreɪtər/

例句 Examples

In many languages, + is a concatenation operator for strings.
在许多语言中,+ 是用于字符串的连接(拼接)运算符。

In SQL, the concatenation operator (often ||) can combine columns and literals to build a full name.
在 SQL 中,连接运算符(常见为 ||)可以把列值与字面量组合起来生成完整姓名。

词源 Etymology

concatenation 来自拉丁语 concatenare,意为“用链子连在一起”(con- “一起” + catena “链条”);operator 源自拉丁语 operator,意为“操作者、执行者”。合起来指“执行连接这一操作的符号/机制”。

相关词 Related Words

文献与作品 Literary Works

  • JavaScript: The Definitive Guide(讲解 + 既可做加法也可做字符串连接)
  • Programming in Lua(介绍 Lua 的字符串连接运算符 ..
  • PostgreSQL: The Official Documentation(说明 SQL 中 || 的字符串连接用法)
  • Python Documentation(讨论字符串/序列连接,如 +join() 的对比与语义)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1975 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 12:15 · PVG 20:15 · LAX 04:15 · JFK 07:15
♥ Do have faith in what you're doing.